package com.micro.common.service.web.mq.producer;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class TradeMsg {
    //消息类型，对应MQMsgTypeEnum
    public String msgType;
    public String msgId;
    public String coinTradeId;
    public String coinTradeCode;
    public Integer coinTradeType;
    //操作的账户ID
    public String shardingKey;
    //接收方，发送方
    public String tradeType;
    //发送方的账户ID
    public String sendAccountId;
    //累计本部发放数量
    public BigDecimal allUnitAmt;
    //创建人万信
    public String createUserWanxin;
}
